﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpertVoteList.aspx.cs"
    Inherits="BOH.Interview.ExpertVoteList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../js/common.js" type="text/javascript"></script>

</head>
    <script>
        $(document).ready(function() {
            $("#headercheck").click(selectAll);
            $(".itemCheckBox").click(selectItem);
        });
    </script>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
        当前位置:<a href="OverView.aspx" target="frameControl">评审</a> >> 申报人员列表
    </div>
    <div id="bodyDiv">
        <div id="divSearch">
            <center>
                <table width="98%" class="Grid">
                    <tr>
                        <td align="right" style="width: 120px;">
                            评审系列
                        </td>
                        <td align="left" style="width: 180px">
                            <asp:DropDownList ID="drpApplyStyle" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpApplyStyle_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                        <td align="right" style="width: 120px;">
                            申报职称
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpApplyJobRank" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 120px;">
                            申报学科组
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpSubject" runat="server" OnSelectedIndexChanged="drpSubject_SelectedIndexChanged"
                                AutoPostBack="true">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            申报专业
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpSpeciality" runat="server">
                                <asp:ListItem Text="请选择申报专业" Value="-1"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </center>
            <p>
                <asp:Button ID="butSearch" runat="server" Text="查 询" OnClick="butSearch_Click" />
            </p>
        </div>
        <div id="divGrid">
            <asp:GridView ID="ApplyViewVoteList" runat="server" AutoGenerateColumns="False" Width="900"
                CssClass="Grid" AllowPaging="True" PageSize="15">
                <PagerSettings Mode="NumericFirstLast" />
                <Columns>
                    <asp:TemplateField>
                        <ItemStyle Width="30px" HorizontalAlign="Center" />
                        <HeaderTemplate>
                            <input type="checkbox" id="headerCheck" />
                        </HeaderTemplate>
                        <ItemTemplate>
                            <input type="checkbox" id='itemChk_<%#Eval("ApplyID") %>' class="itemCheckBox"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="评审系列">
                        <ItemStyle Width="100px" />
                        <ItemTemplate>
                            <asp:Label ID="labApplyStyle" Text='<%#Eval("ApplyStyle") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报姓名">
                        <ItemStyle Width="80px" />
                        <ItemTemplate>
                            <asp:Label ID="labApplyStyle" Text='<%#Eval("Apply_Name") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报职称">
                        <ItemStyle Width="90px" />
                        <ItemTemplate>
                            <asp:Label ID="labApplyStyle" Text='<%#Eval("JobRankName") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="学科组">
                        <ItemStyle Width="100px" />
                        <ItemTemplate>
                            <asp:Label ID="labApplyStyle" Text='<%#Eval("SubjectName") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="专业学科">
                        <ItemStyle Width="160px" />
                        <ItemTemplate>
                            <asp:Label ID="labApplyStyle" Text='<%#Eval("Speciality") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="投 票" HeaderStyle-Width="160px" HeaderStyle-HorizontalAlign="Center">
                        <ItemStyle Width="160px" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <input type="button" value="赞成" style="height: 20px; width: 40px;" id="butvote" />&nbsp;
                            <input type="button" value="不赞成" style="height: 20px; width: 50px;" id="Button1" />&nbsp;
                            <input type="button" value="弃权" style="height: 20px; width: 40px;" id="Button2" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <div id="divPager">
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="15" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
